```typescript index.ts
// Authorize user
const authorizeResponse = box.authorization.authorize({
    responseType: "code"
    clientId: "ly1nj6n11vionaie65emwzk575hnnmrk"
    redirectUri: "http://example.com/auth/callback"
    state: "my_state"
    scope: "admin_readwrite"
})
```